//
//  UIImageView.swift
//  Automobile
//
//  Created by erkebulan elzhan on 7/23/20.
//  Copyright © 2020 erkebulan elzhan. All rights reserved.
//

import UIKit



extension UIImageView {
    func setImageColor(color: UIColor) {
      let templateImage = self.image?.withRenderingMode(.alwaysTemplate)
      self.image = templateImage
      self.tintColor = color
    }
}
